package com.blog.blogservice.config;

import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @author guanglin.ma
 * @date 2024-10-12 23:06
 */
public class BlogWebMvcConfig implements WebMvcConfigurer {

//    @Override
//    public void addResourceHandlers(ResourceHandlerRegistry registry) {
//        //md文件位置建立映射
//        registry.addResourceHandler(ulrpath).addResourceLocations("file:"+abpath);
//        //图片位置建立映射
//        registry.addResourceHandler(mdImageDir).addResourceLocations("file:"+abpath+"assets/");
//        registry.addResourceHandler("/**").addResourceLocations("classpath:/static/");
//    }
}
